// 下载的包中有一个configureStore方法,引入,是用来创建store的
import {
    configureStore
} from '@reduxjs/toolkit'

// 引入reducer,起个名字叫做countReducer
import countReducer from './slice/countSlice'
import movieReducer from './slice/movieSlice'

const store = configureStore({
    reducer: {
        count: countReducer,
        movie:movieReducer
    }
})

export default store